math/big.Int.Sub (method)

42 uses

	math/big (current package)
		int.go#L162: func (z *Int) Sub(x, y *Int) *Int {
		int.go#L256: 		z.Mul(z, t.Sub(&N, &i))
		int.go#L309: 			z.Sub(z, intOne)
		int.go#L327: 			z.Sub(z, y0)
		int.go#L358: 			m.Sub(m, y0)
		int.go#L360: 			z.Sub(z, intOne)
		int.go#L743: 		Ub.Sub(Ua, s)
		int.go#L861: 		y.Sub(A, y)
		int.go#L1018: 	beta.Sub(beta, intOne)
		int.go#L1031: 	s.Sub(p, intOne)
		rat.go#L504: 	z.a.Sub(&a1, &a2)

	crypto/dsa
		dsa.go#L127: 			rem.Sub(rem, one)
		dsa.go#L128: 			p.Sub(p, rem)
		dsa.go#L147: 	pm1 := new(big.Int).Sub(p, one)
		dsa.go#L199: 	pMinus2 := new(big.Int).Sub(P, two)

	crypto/elliptic
		params.go#L43: 	x3.Sub(x3, threeX)
		params.go#L151: 	h := new(big.Int).Sub(u2, u1)
		params.go#L166: 	r := new(big.Int).Sub(s2, s1)
		params.go#L179: 	x3.Sub(x3, j)
		params.go#L180: 	x3.Sub(x3, v)
		params.go#L181: 	x3.Sub(x3, v)
		params.go#L185: 	v.Sub(v, x3)
		params.go#L189: 	y3.Sub(y3, s1)
		params.go#L194: 	z3.Sub(z3, z1z1)
		params.go#L195: 	z3.Sub(z3, z2z2)
		params.go#L228: 	alpha := new(big.Int).Sub(x, delta)
		params.go#L243: 	x3.Sub(x3, beta8)
		params.go#L251: 	z3.Sub(z3, gamma)
		params.go#L255: 	z3.Sub(z3, delta)
		params.go#L262: 	beta.Sub(beta, x3)
		params.go#L272: 	y3.Sub(y3, gamma)

	crypto/rand
		util.go#L72: 	n.Sub(max, n.SetUint64(1))

	crypto/rsa
		rsa.go#L463: 			pminus1.Sub(prime, bigOne)
		rsa.go#L592: 	precomputed.Dp = new(big.Int).Sub(priv.Primes[0], bigOne)
		rsa.go#L595: 	precomputed.Dq = new(big.Int).Sub(priv.Primes[1], bigOne)
		rsa.go#L609: 		values.Exp = new(big.Int).Sub(prime, bigOne)

	crypto/x509
		oid.go#L325: 					bigVal = bigVal.Sub(bigVal, big.NewInt(80))

	encoding/asn1
		marshal.go#L206: 		nMinus1.Sub(nMinus1, bigOne)

	github.com/aws/aws-sdk-go-v2/internal/v4a
		v4a.go#L63: 	nMinusTwoP256 = nMinusTwoP256.Sub(nMinusTwoP256, new(big.Int).SetInt64(2))

	go/constant
		value.go#L1131: 				return makeInt(newInt().Sub(big.NewInt(a), big.NewInt(b)))
		value.go#L1166: 			c.Sub(a, b)

	vendor/golang.org/x/crypto/cryptobyte
		asn1.go#L79: 			nMinus1.Sub(nMinus1, bigOne)